import { IS_IOS } from 'src/utils/ScreenUtil'

/* Amap appkey ios */
export const AMAPAPPKEY_IOS = '1803e99647ae35549b77b029793f7825'
/* Amap appkey android */
export const AMAPAPPKEY_ANDROID = '1c629f9f495db6b47ca0f9488b782e5f'
/* 微信appkey */
// export const WXAPPID = 'wx55c03ed3be05cf4b'
export const WXAPPID = 'wxd81c947e6294ee6a' // 微信开放平台id
export const MINIID = 'gh_d9dddd59e68e' // 小程序原始id
export const IMAPPKEY = '78572d9cddadfc6a00d98398cc0a9781'// 职初用

/* 客服号码 */
export const ServiceTelephone = '400-161-6661'
export const AgreementCustom = 'http://html.static.renzhichu.cn/legal.html'
export const AgreementMember = 'http://html.static.renzhichu.cn/huiyuan.html'
export const AgreementJob = 'http://html.static.renzhichu.cn/publishjob.html'
/* auth/token */
export const authTokenAuthorization = IS_IOS ? `Basic cmVuemhpY2h1LWlvczp6aGljaHU=` : `Basic cmVuemhpY2h1LWFuZHJvaWQ6emhpY2h1`
/* 内网图片测试地址 */
export const ImageHost = 'http://image.static.renzhichu.cn/'
/* 预发布地址 */
// export const isEnv = 'pre'// 网易测试
// export const baseURL = 'http://testapp.renzhichu.cn/'// 预发布
// export const wsURL = 'ws://testchatserver.renzhichu.cn/chat-server'

/* 正式地址 */
// export const isEnv = ''// 网易正式
// export const baseURL = 'http://app.renzhichu.cn/'
// export const wsURL = 'ws://chatserver.renzhichu.cn/chat-server'

/* 内网地址 */
export const isEnv = 'test'// 网易测试
export const baseURL = process.env.NODE_ENV === 'development' ? 'http://test.kydof.com/' : 'http://dailyapp.renzhichu.cn/'
export const wsURL = 'ws://dailychatserver.renzhichu.cn/chat-server'
